home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / XSYSOP09.ZIP / XSYSOP.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1997-05-02  |  6KB  |  256 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     Integer  INTEGER003
  22.     Integer  INTEGER004
  23.     String   STRING001
  24.     String   STRING002
  25.  
  26. ;------------------------------------------------------------------------------
  27.  
  28.     If (!Exist(PPEPath() + "xsysop.cfg")) FCreate 1, PPEPath() + "xsysop.cfg", 2, 0
  29.     FPutLn 1, "110"
  30.     FPutLn 1, "15"
  31.     FPutLn 1, "27 2"
  32.     FPutLn 1, ""
  33.     FPutLn 1, ""
  34.     FPutLn 1, "--------------------------------------------------------------------"
  35.     FPutLn 1, " xSYSOP cONFIGURATION fILE!"
  36.     FPutLn 1, "--------------------------------------------------------------------"
  37.     FPutLn 1, " Line One: security level needed to access the ppe"
  38.     FPutLn 1, " Line Two: color of users input"
  39.     FPutLn 1, " x/y co-ordinates of user input"
  40.     FClose 1
  41.     GetUser
  42.     FOpen 2, PPEPath() + "xsysop.cfg", 2, 0
  43.     FGet 2, INTEGER001
  44.     FGet 2, INTEGER002
  45.     FGet 2, STRING001
  46.     FClose 2
  47.     If (INTEGER001 == "") INTEGER001 = 110
  48.     If (INTEGER002 == "") INTEGER002 = 15
  49.     If (STRING001 == "") STRING001 = "27 2"
  50.     Tokenize STRING001
  51.     INTEGER003 = GetToken()
  52.     INTEGER004 = GetToken()
  53.     If (INTEGER001 > U_Sec) End
  54.     GetUser
  55.     If (U_Sec > INTEGER001) Newline
  56.     PrintLn "@X0CA@X04ccess @X0CD@X04enied@X08!"
  57.     PrintLn ""
  58.     Wait
  59.     End
  60.     If (!Exist(PPEPath() + "xsysop.pcb")) Newline
  61.     PrintLn "@X0CE@X04rror@X08! @X0Cx@X04SYSOP@X08.@X04PCB @X0Cw@X04as @X0Cn@X04ot @X0Cf@X04ound@X08!"
  62.     PrintLn "@X0CN@X04otify @X0Ct@X04he @X0Co@X04perator @X0Ca@X08.@X04s@X08.@X04a@X08.@X04p@X08!"
  63.     PrintLn ""
  64.     Wait
  65.     End
  66.     Print "@CLS@@POFF@"
  67.     DispFile PPEPath() + "xsysop.pcb", 1
  68.     AnsiPos 22, 15
  69.     Print "@X08xSYSOP, a dream utility for PCBoard!"
  70.     Delay 4
  71.     AnsiPos 22, 15
  72.     Print "@X07xSYSOP, a dream utility for PCBoard!"
  73.     Delay 4
  74.     AnsiPos 22, 15
  75.     Print "@X0FxSYSOP, a dream utility for PCBoard!"
  76.     Delay 3
  77.     AnsiPos 22, 15
  78.     Print "@X0Fx@X0BS@X03YSOP@X08, @X0Fa d@X0Br@X03eam @X0Fu@X0Bt@X03ility @X0Ff@X0Bo@X03r @X0FP@X0BC@X03Board@X08!"
  79.     AnsiPos 1, 1
  80.     PrintLn "@X07                                                                               "
  81.     PrintLn "   @X08╚ @X0Be@X03nter @X0Bn@X03umber@X08/@X0Bo@X03ption@X07:                                                      "
  82.     PrintLn "@X08-%--------------------------------------%--------------------------------------"
  83.     PrintLn " @X08|@X07 @X08 @X091@X07  @X0FM@X07anage @X0FC@X07aller @X0Fl@X07og                @X08|@X07 @X09a @X07 @X0FL@X07ogoff @X0Fa@X07lternate @X0Fn@X07ode             "
  84.     PrintLn " @X08|@X07 @X08 @X092@X07  @X0FV@X07iew @X0Fn@X07ode @X0FC@X07aller @X0Fl@X07og             @X08|@X07 @X09b @X07 @X0FR@X07ecycle @X0Fa@X07 @X0Fn@X07ode                    "
  85.     PrintLn " @X08|@X07 @X08 @X093@X07  @X0FR@X07emote @X0Fd@X07rop @X0Ft@X07o @X0FD@X07OS               @X08|@X07 @X09c@X07  @X0FU@X07ser @X0Fm@X07aintenance                  "
  86.     PrintLn " @X08|@X07 @X08 @X094@X07  @X0FE@X07xecute @X0FD@X07OS @X0FC@X07ommand              @X08|@X07 @X09d@X07  @X0FP@X07ack @X0Fu@X07ser @X0Ff@X07ile                    "
  87.     PrintLn " @X08|@X07 @X08 @X095@X07  @X0FD@X07rop @X0Fn@X07ode @X0Ft@X07o @X0FD@X07OS                 @X08|@X07 @X09e@X07  @X0FV@X07iew/@X0FP@X07rint @X0Fu@X07ser @X0Fl@X07ist              "
  88.     PrintLn " @X08|@X07 @X08 @X096@X07  @X0FV@X07iew @X0Fa@X07 @X0FF@X07ile                      @X08|@X07 @X09f@X07  @X0FP@X07ack/@X0Fr@X07enumber @X0Fm@X07essages            "
  89.     PrintLn " @X08|@X07 @X08 @X097@X08 @X07 @X0FV@X07iew @X0Fu@X07sers @X0Fc@X07urrently @X0Fo@X07nline      @X08|@X07 @X09g@X07  @X0FR@X07ecover @X0Fa@X07 @X0Fk@X07illed @X0Fm@X07essage          "
  90.     PrintLn " @X08`--------------------------------------| @X09h @X07 @X0FL@X07ist @X0Fm@X07essage @X0Fh@X07eaders              "
  91.     PrintLn "                                        @X08`-------------------------  ---  --  - @X07"
  92.     :LABEL001
  93.     AnsiPos INTEGER003, INTEGER004
  94.     Color INTEGER002
  95.     While ((STRING002 == "")) STRING002 = Inkey()
  96.     While ((Upper(STRING002) == 1)) Print STRING002
  97.     Color 7
  98.     Cls
  99.     Command 0, "1"
  100.     End
  101.     Goto LABEL002
  102.     While ((Upper(STRING002) == 2)) Print STRING002
  103.     Color 7
  104.     Cls
  105.     Command 0, "2"
  106.     End
  107.     Goto LABEL002
  108.     While ((Upper(STRING002) == 3)) Print STRING002
  109.     Color 7
  110.     Cls
  111.     Command 0, "3"
  112.     End
  113.     Goto LABEL002
  114.     While ((Upper(STRING002) == 4)) Print STRING002
  115.     Color 7
  116.     Cls
  117.     Command 0, "4"
  118.     End
  119.     Goto LABEL002
  120.     While ((Upper(STRING002) == 5)) Print STRING002
  121.     Color 7
  122.     Cls
  123.     Command 0, "5"
  124.     End
  125.     Goto LABEL002
  126.     While ((Upper(STRING002) == 6)) Print STRING002
  127.     Color 7
  128.     Cls
  129.     Command 0, "6"
  130.     End
  131.     Goto LABEL002
  132.     While ((Upper(STRING002) == 7)) Print STRING002
  133.     Color 7
  134.     Cls
  135.     Command 0, "7"
  136.     End
  137.     Goto LABEL002
  138.     While ((Upper(STRING002) == "A")) Print STRING002
  139.     Color 7
  140.     Cls
  141.     Command 0, "8"
  142.     End
  143.     Goto LABEL002
  144.     While ((Upper(STRING002) == "B")) Print STRING002
  145.     Color 7
  146.     Cls
  147.     Command 0, "9"
  148.     End
  149.     Goto LABEL002
  150.     While ((Upper(STRING002) == "C")) Print STRING002
  151.     Color 7
  152.     Cls
  153.     Command 0, "10"
  154.     End
  155.     Goto LABEL002
  156.     While ((Upper(STRING002) == "D")) Print STRING002
  157.     Color 7
  158.     Cls
  159.     Command 0, "11"
  160.     End
  161.     Goto LABEL002
  162.     While ((Upper(STRING002) == "E")) Print STRING002
  163.     Color 7
  164.     Cls
  165.     Command 0, "12"
  166.     End
  167.     Goto LABEL002
  168.     While ((Upper(STRING002) == "F")) Print STRING002
  169.     Color 7
  170.     Cls
  171.     Command 0, "13"
  172.     End
  173.     Goto LABEL002
  174.     While ((Upper(STRING002) == "G")) Print STRING002
  175.     Color 7
  176.     Cls
  177.     Command 0, "14"
  178.     End
  179.     Goto LABEL002
  180.     While ((Upper(STRING002) == "H")) Print STRING002
  181.     Color 7
  182.     Cls
  183.     Command 0, "15"
  184.     End
  185.     Goto LABEL002
  186.     While ((Upper(STRING002) == Chr(13))) Print STRING002
  187.     Color 7
  188.     Cls
  189.     End
  190.     Goto LABEL002
  191.     If (Upper(STRING002) == Chr(27)) Print STRING002
  192.     Color 7
  193.     Cls
  194.     End
  195.     :LABEL002
  196.     Goto LABEL001
  197.  
  198. ;------------------------------------------------------------------------------
  199. ;
  200. ; Usage report (before postprocessing)
  201. ;
  202. ; ■ Statements used :
  203. ;
  204. ;    20      End
  205. ;    17      Cls
  206. ;    2       Wait
  207. ;    18      Color 
  208. ;    18      Goto 
  209. ;    6       Let 
  210. ;    22      Print 
  211. ;    17      PrintLn 
  212. ;    25      If 
  213. ;    1       DispFile 
  214. ;    1       FCreate 
  215. ;    1       FOpen 
  216. ;    2       FClose 
  217. ;    3       FGet 
  218. ;    11      FPutLn 
  219. ;    2       GetUser
  220. ;    3       Delay 
  221. ;    2       Newline
  222. ;    1       Tokenize 
  223. ;    6       AnsiPos 
  224. ;    15      Command 
  225. ;
  226. ;
  227. ; ■ Functions used :
  228. ;
  229. ;    5       +
  230. ;    21      ==
  231. ;    2       >
  232. ;    2       !
  233. ;    17      Upper()
  234. ;    2       Chr()
  235. ;    1       Inkey()
  236. ;    5       PPEPath()
  237. ;    2       GetToken()
  238. ;    2       Exist()
  239. ;
  240. ;------------------------------------------------------------------------------
  241. ;
  242. ; Analysis flags : No flag
  243. ;
  244. ;------------------------------------------------------------------------------
  245. ;
  246. ; Postprocessing report
  247. ;
  248. ;    0       For/Next
  249. ;    0       While/EndWhile
  250. ;    0       If/Then or If/Then/Else
  251. ;    0       Select Case
  252. ;
  253. ;------------------------------------------------------------------------------
  254. ;                 AEGiS Corp - Break the routines, code against the machines!
  255. ;------------------------------------------------------------------------------
  256.